WPFront\URE\Post_Type\WPFront_User_Role_Editor_Post_Type_Custom_Capability A

Total Complexity 62
Dependencies 4
Dependents 1
Total lines 314
Lines of code 183
Logical lines of code 117
Comment lines 53
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
post_type_args()
A
43 14 46
update_role_caps()
A
47 12 36
is_user_visible()
A
51 8 28
order_group_caps()
S
60 5 14
reorder_cap()
S
60 3 13
initialize()
S
64 3 9
register()
S
65 2 9
restore_role_custom_caps()
S
70 2 6
register_post_type_args()
S
69 2 6
get_debug_setting()
S
100 1 0
cap_prefix()
S
100 1 0
get_capability_name()
S
80 1 3
get_capability_name_base()
S
80 1 3
can_merge()
S
100 1 0
role_default_value_cap()
S
100 1 0
cap_help_link()
S
80 1 3
toggle_cap_functionality()
S
78 1 3
update_role_caps_settings_key()
S
77 1 4
add_before_prefix()
S
100 1 0
init()
S
100 1 0